package util;

public class HtmlCreator {
	
	public static String createHeader(String titleContent) {
		return "<!DOCTYPE html> \n"+
				 "<html>\n" +
		         "<head>"+titleContent+"</head>\n"+
				 "<body>";
	}
	
	public static String createTitle(String title) {
		return "<title>"+title+"</title>";
	}
	
	public static String createBottom() {
		return "</body></html>";
	}
	
	public static String createWebContent(String title,String content) {
		return createHeader(createTitle(title))+content+createBottom();
	}
}	
